package com.util;

import net.sf.json.JSONObject;

public class JsonUtil {
	
	public static JSONObject toJson(Object resultobj) {
		if (resultobj != null) {
			JSONObject json = JSONObject.fromObject(resultobj);
			return json;
		}
		return null;
	}

}
